package org.example.myleet.p724;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(-1 == solution.pivotIndex(new int[]{}));
        Assert.isTrue(-1 == solution.pivotIndex(new int[]{1, 2, 3}));
        Assert.isTrue(0 == solution.pivotIndex(new int[]{1}));
        Assert.isTrue(3 == solution.pivotIndex(new int[]{1, 7, 3, 6, 5, 6}));
    }
}
